<?php
/**
 * 后台管理基类
 */

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\CommonController;
use App\Services\Interfaces\RepoServiceInterface;

class BaseController extends CommonController
{
    protected $_repoService;
    protected $view_prefix = "admin.";

    public function __construct(RepoServiceInterface $repoService)
    {
        $this->_repoService = $repoService;
        view()->share(config('data'));
    }
}
